Optimal. Leaf size=57 \[ \frac {b x}{2 c d^2 \sqrt {1-c^2 x^2}}+\frac {a+b \text {ArcCos}(c x)}{2 c^2 d^2 \left (1-c^2 x^2\right )} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 57, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.087, Rules used = {4768, 197}
\begin {gather*} \frac {a+b \text {ArcCos}(c x)}{2 c^2 d^2 \left (1-c^2 x^2\right )}+\frac {b x}{2 c d^2 \sqrt {1-c^2 x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 197
Rule 4768
Rubi steps
\begin {align*} \int \frac {x \left (a+b \cos ^{-1}(c x)\right )}{\left (d-c^2 d x^2\right )^2} \, dx &=\frac {a+b \cos ^{-1}(c x)}{2 c^2 d^2 \left (1-c^2 x^2\right )}+\frac {b \int \frac {1}{\left (1-c^2 x^2\right )^{3/2}} \, dx}{2 c d^2}\\ &=\frac {b x}{2 c d^2 \sqrt {1-c^2 x^2}}+\frac {a+b \cos ^{-1}(c x)}{2 c^2 d^2 \left (1-c^2 x^2\right )}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.04, size = 49, normalized size = 0.86 \begin {gather*} \frac {a+b c x \sqrt {1-c^2 x^2}+b \text {ArcCos}(c x)}{2 c^2 d^2-2 c^4 d^2 x^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.17, size = 98, normalized size = 1.72
method | result | size |
derivativedivides | \(\frac {-\frac {a}{2 d^{2} \left (c^{2} x^{2}-1\right )}+\frac {b \left (-\frac {\arccos \left (c x \right )}{2 \left (c^{2} x^{2}-1\right )}-\frac {\sqrt {-\left (c x +1\right )^{2}+2 c x +2}}{4 \left (c x +1\right )}-\frac {\sqrt {-\left (c x -1\right )^{2}-2 c x +2}}{4 \left (c x -1\right )}\right )}{d^{2}}}{c^{2}}\) | \(98\) |
default | \(\frac {-\frac {a}{2 d^{2} \left (c^{2} x^{2}-1\right )}+\frac {b \left (-\frac {\arccos \left (c x \right )}{2 \left (c^{2} x^{2}-1\right )}-\frac {\sqrt {-\left (c x +1\right )^{2}+2 c x +2}}{4 \left (c x +1\right )}-\frac {\sqrt {-\left (c x -1\right )^{2}-2 c x +2}}{4 \left (c x -1\right )}\right )}{d^{2}}}{c^{2}}\) | \(98\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 136 vs.
\(2 (50) = 100\).
time = 0.48, size = 136, normalized size = 2.39 \begin {gather*} -\frac {1}{4} \, {\left ({\left (\frac {\sqrt {-c^{2} x^{2} + 1} c^{2} d^{2}}{c^{7} d^{4} x + c^{6} d^{4}} + \frac {\sqrt {-c^{2} x^{2} + 1} c^{2} d^{2}}{c^{7} d^{4} x - c^{6} d^{4}}\right )} c^{2} + \frac {2 \, \arccos \left (c x\right )}{c^{4} d^{2} x^{2} - c^{2} d^{2}}\right )} b - \frac {a}{2 \, {\left (c^{4} d^{2} x^{2} - c^{2} d^{2}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 2.68, size = 54, normalized size = 0.95 \begin {gather*} -\frac {a c^{2} x^{2} + \sqrt {-c^{2} x^{2} + 1} b c x + b \arccos \left (c x\right )}{2 \, {\left (c^{4} d^{2} x^{2} - c^{2} d^{2}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \frac {\int \frac {a x}{c^{4} x^{4} - 2 c^{2} x^{2} + 1}\, dx + \int \frac {b x \operatorname {acos}{\left (c x \right )}}{c^{4} x^{4} - 2 c^{2} x^{2} + 1}\, dx}{d^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.44, size = 100, normalized size = 1.75 \begin {gather*} -\frac {b x^{2} \arccos \left (c x\right )}{2 \, {\left (c^{2} x^{2} - 1\right )} d^{2}} - \frac {a x^{2}}{2 \, {\left (c^{2} x^{2} - 1\right )} d^{2}} - \frac {\sqrt {-c^{2} x^{2} + 1} b x}{2 \, {\left (c^{2} x^{2} - 1\right )} c d^{2}} + \frac {b \arccos \left (c x\right )}{2 \, c^{2} d^{2}} + \frac {a}{2 \, c^{2} d^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {x\,\left (a+b\,\mathrm {acos}\left (c\,x\right )\right )}{{\left (d-c^2\,d\,x^2\right )}^2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________